﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DoAn_BumTruong_DesignPattern
{
    public class Comments
    {
        [Key()]
        public int CommentID { get; set; }
        [StringLength(50)]
        public string Client { get; set; }
        public DateTime? CreateDate { get; set; }
        [StringLength(4000)]
        public string Context { get; set; }
        public bool ShowHide {get;set;}
        [StringLength(225)]
        public string Avata { get; set; }
        //Comment thuoc bai viet nao
        public int ArticleID { get; set; }//1 comment chi nam trong 1 bai viet
        public virtual Article Article { get; set; }
    }
}